From 5bc663c75918a223ae43e685ed69e9f09d108d99 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 19 May 2009 01:27:36 +0100 Subject: [PATCH] ioemu: Export PREFIX variable to ioemu build environment. Signed-off-by: Christoph Egger --- stubdom/Makefile | 2 ++ tools/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/stubdom/Makefile b/stubdom/Makefile index fabb6908de..563c01aa56 100644 --- a/stubdom/Makefile +++ b/stubdom/Makefile @@ -235,6 +235,8 @@ libxc-$(XEN_TARGET_ARCH)/libxenctrl.a libxc-$(XEN_TARGET_ARCH)/libxenguest.a:: c ioemu: cross-zlib cross-libpci libxc [ -f ioemu/config-host.mak ] || \ ( $(absolutify_xen_root); \ + PREFIX=$(PREFIX); \ + export PREFIX; \ cd ioemu ; \ LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \ TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \ diff --git a/tools/Makefile b/tools/Makefile index 00e398170f..ed5f7568d2 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -91,6 +91,8 @@ ioemu-dir-find: fi set -e; \ $(absolutify_xen_root); \ + PREFIX=$(PREFIX); \ + export PREFIX; \ cd ioemu-dir; \ ./xen-setup $(IOEMU_CONFIGURE_CROSS) -- 2.30.2